package com.zenghus.adapter;

public class VoltageAdapter extends Voltage220 implements  Voltage5 {
    @Override
    public int out5V() {
        int scr=out220V();
        System.out.println("适配器开始工作，适配电压");
        int d=scr/44;
        System.out.println("适配完毕，当前电压"+d+"v");
        return d;
    }
}
